package dao;

import org.apache.ibatis.annotations.Param;
import po.DyhAdsPosition;
import po.DyhAdsPositionExample;

import java.util.List;

public interface DyhAdsPositionMapper {
    int countByExample(DyhAdsPositionExample example);

    int deleteByExample(DyhAdsPositionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DyhAdsPosition record);

    int insertSelective(DyhAdsPosition record);

    List<DyhAdsPosition> selectByExample(DyhAdsPositionExample example);

    DyhAdsPosition selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DyhAdsPosition record, @Param("example") DyhAdsPositionExample example);

    int updateByExample(@Param("record") DyhAdsPosition record, @Param("example") DyhAdsPositionExample example);

    int updateByPrimaryKeySelective(DyhAdsPosition record);

    int updateByPrimaryKey(DyhAdsPosition record);
}